﻿@model Kooboo.CMS.Web.Areas.Account.Models.ChangeLanguageModel
@{
    ViewBag.Title = "Change language".Localize();
    Layout = "~/Views/Shared/Blank.cshtml";
}
@section Panel{
    <ul class="panel">
        <li>
            <a data-ajaxform="">
                @Html.IconImage("save") @("Save".Localize())</a>
        </li>
        @foreach (var group in Kooboo.CMS.Sites.Extension.UI.TopToolbar.ToolbarButtons.GetToolbarButtons(ViewContext.RequestContext))
        {
            @Html.Partial("_ToolbarGroupButtons", group)
        }
        <li>
            <a href="@ViewContext.RequestContext.GetRequestValue("return")">
                @Html.IconImage("cancel") @("Back".Localize())</a>
        </li>
    </ul>
}

<div class="common-form">
    <h1 class="title">@("Change language".Localize())</h1>
    @using (Html.BeginForm())
    { 
        <table>
            <tbody>
                @Html.EditorFor(m => m.UICulture)
            </tbody>
        </table>
    }
</div>
